import request from '@/utils/request'

// 查询投档线列表
export function getSchoolList() {
  return request({
    url: '/school/tdx/getSchoolList',
    method: 'get',
  })
}


// 查询大学专业列表
export function getSpecialityList(schoolName) {
  return request({
    url: '/school/tdx/getSpecialityList',
    method: 'get',
    params: {schoolName}
  })
}
//添加志愿
export  function  addVolunteer(data){
  return request({
    url: '/ai/volunteer/addVolunteer',
    method: 'post',
    data: data
  })
}
